<?php 
if($contract):
?>
<div >
<h2><?php  echo __('Contract Info'); ?></h2>
	<dl style="width: 100%;">
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($contract['Contract']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Number'); ?></dt>
		<dd>
			<?php echo h($contract['Contract']['number']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Start Date'); ?></dt>
		<dd>
			<?php echo h(date('d m Y', strtotime($contract['Contract']['date_ini']))); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Final Date'); ?></dt>
		<dd>
			<?php echo h(date('d m Y', strtotime($contract['Contract']['date_end']))); ?>
			&nbsp;
		</dd>
	</dl >
	<br />
	<h2><?php  echo __('Realty Info'); ?></h2>
	<dl style="width: 100%;">
		<dt><?php echo __('Address'); ?></dt>
		<dd>
			<?php echo h($contract['Realty']['address']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Description'); ?></dt>
		<dd>
			<?php echo h($contract['Realty']['description']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Type'); ?></dt>
		<dd>
			<?php echo h($contract['Realty']['type']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Situation'); ?></dt>
		<dd>
			<?php echo h($contract['Realty']['situation']); ?>
			&nbsp;
		</dd>
	</dl>
	<br />
	<h2><?php  echo __('Tenant Info'); ?></h2>
	<dl style="width: 100%;">
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($contract['Tenant']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Cpf'); ?></dt>
		<dd>
			<?php echo h($contract['Tenant']['CPF']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Address'); ?></dt>
		<dd>
			<?php echo h($contract['Tenant']['address']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Telephone'); ?></dt>
		<dd>
			<?php echo h($contract['Tenant']['telephone']); ?>
			&nbsp;
		</dd>
	</dl>
	<br />
	<h2><?php  echo __('Owner Info'); ?></h2>
	<dl style="width: 100%;">
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($contract['Owner']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Cpf'); ?></dt>
		<dd>
			<?php echo h($contract['Owner']['CPF']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Address'); ?></dt>
		<dd>
			<?php echo h($contract['Owner']['address']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Telephone'); ?></dt>
		<dd>
			<?php echo h($contract['Owner']['telephone']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<?php
endif;
?>